package PO;

import java.io.Serializable;
import java.util.ArrayList;

import Promotion.Exchangecoupons;
import Promotion.ExchangecouponsList;
@SuppressWarnings("serial")
public class ExchangecouponslistPO  extends PO implements Serializable{
	ArrayList<ExchangecouponsPO>  Exchangecouponslist=new ArrayList<ExchangecouponsPO>();

	public ExchangecouponslistPO (ArrayList <ExchangecouponsPO> elist){
		Exchangecouponslist= elist;
	}
	public ExchangecouponslistPO(ExchangecouponsList exlist){
		for(Exchangecoupons ex:exlist.GetExchangecouponsList()){
			ExchangecouponsPO expo=new ExchangecouponsPO(ex);
			Exchangecouponslist.add(expo);			
		}
	}
	
	public ArrayList<ExchangecouponsPO> GetExchangecouponslist(){
		return Exchangecouponslist;
	}
}
